package cn.liberals.org.service;

import cn.liberals.basic.utils.PageList;
import cn.liberals.org.domain.Shop;
import cn.liberals.basic.service.IBaseService;
import cn.liberals.org.domain.ShopAuditLog;
import cn.liberals.org.query.ShopQuery;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liberals
 * @since 2022-07-01
 */
public interface IShopService extends IBaseService<Shop> {

    void settlement(Shop shop);

    void pass(ShopAuditLog shopAuditLog);

    void reject(ShopAuditLog shopAuditLog);

    Map<String, Object> loadShopEchartsData();

    void activation(Long id);

    void js(ShopAuditLog shopAuditLog);

    void batchSave(List<Shop> shops);

    void settlementAgain(Shop shop);

    PageList<Shop> queryData(ShopQuery query);
}
